namespace Lzfy_Refund_Service.Models
{
    /// <summary>
    /// 患者数据查询请求
    /// </summary>
    public class PatientDataQueryRequest
    {
        /// <summary>
        /// 用户ID（医生ID）
        /// </summary>
        public string UserId { get; set; } = string.Empty;
    }

    /// <summary>
    /// 患者数据查询响应
    /// </summary>
    public class PatientDataQueryResponse
    {
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; } = string.Empty;

        /// <summary>
        /// 患者数据
        /// </summary>
        public PatientVisitData? Data { get; set; }
    }

    /// <summary>
    /// 患者就诊数据
    /// </summary>
    public class PatientVisitData
    {
        /// <summary>
        /// 门诊就诊ID
        /// </summary>
        public string OutP_VISIT_ID { get; set; } = string.Empty;

        /// <summary>
        /// 患者ID
        /// </summary>
        public string PatienT_ID { get; set; } = string.Empty;

        /// <summary>
        /// 患者姓名
        /// </summary>
        public string PatI_NAME { get; set; } = string.Empty;

        /// <summary>
        /// 门诊专科名称
        /// </summary>
        public string OutP_SPECIAL_NAME { get; set; } = string.Empty;

        /// <summary>
        /// 门诊日期
        /// </summary>
        public DateTime OutP_DATE { get; set; }

        /// <summary>
        /// 就诊ID
        /// </summary>
        public string VisiT_ID { get; set; } = string.Empty;

        /// <summary>
        /// 接诊医生
        /// </summary>
        public string AdmissioN_DOCTOR { get; set; } = string.Empty;

        /// <summary>
        /// 医生与门诊就诊ID组合
        /// </summary>
        public string DoctoR_VS_OUTP_VISIT_ID { get; set; } = string.Empty;

        /// <summary>
        /// 二维码
        /// </summary>
        public string QR_CODE { get; set; } = string.Empty;

        /// <summary>
        /// 挂号费状态
        /// </summary>
        public string RegistratioN_FEE_STATUS { get; set; } = string.Empty;

        /// <summary>
        /// 患者级别
        /// </summary>
        public string PAT_LEVEL { get; set; } = string.Empty;

        /// <summary>
        /// 检验数量
        /// </summary>
        public string LIS_COUNT { get; set; } = string.Empty;

        /// <summary>
        /// 检查数量
        /// </summary>
        public string EXAM_COUNT { get; set; } = string.Empty;

        /// <summary>
        /// 阅读标志
        /// </summary>
        public string READ_FLAG { get; set; } = string.Empty;

        /// <summary>
        /// 医嘱名称列表
        /// </summary>
        public string? ORDER_NAMES { get; set; }
    }
}